package com.wfit.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.wfit.pojo.Headline;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wfit.pojo.vo.PortalVo;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

/**
* @author 30251
* @description 针对表【news_headline】的数据库操作Mapper
* @createDate 2024-04-30 17:02:39
* @Entity com.wfit.pojo.Headline
*/
@Mapper
public interface HeadlineMapper extends BaseMapper<Headline> {
    @MapKey("id")
    IPage<Map> selectMyPage(IPage page, @Param("portalVo")PortalVo portalVo);
/*
*
* */
    @MapKey("hid")
    Map queryDetailMap(Integer hid);
}




